package com.heima.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.article.dtos.ArticleHomeDto;
import com.heima.model.article.pojos.ApArticle;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @author xiaquanen
 * @version 1.0
 * @project heima-leadnews
 * @date 2024/7/18 21:49:28
 */
public interface ApArticleMapper extends BaseMapper<ApArticle> {

    List<ApArticle> load(@Param("dto") ArticleHomeDto articleDto, @Param("type") int target);

}
